//入口文件

//react必要的两个包
import React from 'react';
import ReactDOM from 'react-dom/client';
//引入App组件
import App from './App';
// 导入store
import store from './store';
// 导入store提供组件Provider
import { Provider } from 'react-redux';


//把App根组件渲染到id为root的dom节点上
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    // 提供store数据
  <Provider store={store}>
    <App />
  </Provider>

);

